home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 December / PCWorld_2007-12_cd.bin / domacnost a kancelar / autoit / autoit-v3-setup.exe / Examples / Helpfile / _DateToMonth.au3 < prev    next >
Text File  |  2007-09-08  |  263b  |  9 lines

  1. #include <Date.au3>
  2.  
  3. ; Retrieve the long name
  4. $sLongMonthName = _DateToMonth(@MON)
  5.  
  6. ; Retrieve the abbreviated name
  7. $sShortMonthName = _DateToMonth(@MON, 1)
  8.  
  9. MsgBox(4096, "Month of Year", "The month is: " & $sLongMonthName & " (" & $sShortMonthName & ")")